package com.ruoyi.stuinfo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 违规记录对象 attendancerecord
 * 
 * @author zc
 * @date 2025-05-16
 */
public class stupun extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID，自增主键 */
    private Long recordId;

    /** 学生学号 */
    @Excel(name = "学生学号")
    private String studentId;

    /** 宿舍房间ID */
    @Excel(name = "宿舍房间ID")
    private String roomId;

    /** 考勤日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "考勤日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkDate;

    /** 具体考勤时间 */
    private Date checkTime;

    /** 考勤类型：晚归/不归/正常 */
    @Excel(name = "考勤类型：晚归/不归/正常")
    private String checkType;

    /** 记录人(宿管)ID */
    private String recorderId;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }

    public void setStudentId(String studentId) 
    {
        this.studentId = studentId;
    }

    public String getStudentId() 
    {
        return studentId;
    }

    public void setRoomId(String roomId) 
    {
        this.roomId = roomId;
    }

    public String getRoomId() 
    {
        return roomId;
    }

    public void setCheckDate(Date checkDate) 
    {
        this.checkDate = checkDate;
    }

    public Date getCheckDate() 
    {
        return checkDate;
    }

    public void setCheckTime(Date checkTime) 
    {
        this.checkTime = checkTime;
    }

    public Date getCheckTime() 
    {
        return checkTime;
    }

    public void setCheckType(String checkType) 
    {
        this.checkType = checkType;
    }

    public String getCheckType() 
    {
        return checkType;
    }

    public void setRecorderId(String recorderId) 
    {
        this.recorderId = recorderId;
    }

    public String getRecorderId() 
    {
        return recorderId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("studentId", getStudentId())
            .append("roomId", getRoomId())
            .append("checkDate", getCheckDate())
            .append("checkTime", getCheckTime())
            .append("checkType", getCheckType())
            .append("recorderId", getRecorderId())
            .append("remark", getRemark())
            .toString();
    }
}
